#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include <QModelIndex>
#include <QListWidgetItem>
#include <QTreeWidgetItem>

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

    void slot_listView_event(QModelIndex index);

    void slot_listWidget_event(QListWidgetItem *item);

    void slot_treeWidget_event(QTreeWidgetItem* item,int column);

    void on_pushButton_flod_vertical_clicked();

    void on_pushButton_flod_horizontal_clicked();

    void onActionTriggered(bool checked);

    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

    void on_horizontalSlider_valueChanged(int value);

    void on_dial_valueChanged(int value);

private:
    Ui::MainWindow *ui;
    void switchPage();
};
#endif // MAINWINDOW_H
